package com.itqian.seller.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author shishuqian
 * date 2022/4/10
 * time 14:10
 **/
@Data
public class OrderExcelVO {

    @ExcelProperty("订单号")
    @ColumnWidth(40)
    private Integer orderId;
    //private String orderId;

    @ExcelProperty("买家名")
    @ColumnWidth(15)
    private String buyerName;

    @ExcelProperty("配送地址")
    @ColumnWidth(30)
    private String buyerAddress;

    @ExcelProperty("买家电话")
    @ColumnWidth(15)
    private String buyerPhone;

    @ExcelProperty("订单总价(元)")
    @ColumnWidth(18)
    private BigDecimal orderAmount;

    @ExcelProperty("配送员姓名")
    @ColumnWidth(15)
    private String runnerName;

    @ExcelProperty("配送员电话")
    @ColumnWidth(15)
    private String runnerPhone;

    @ExcelProperty("买家备注")
    @ColumnWidth(30)
    private String buyerRemark;

    @ExcelProperty("下单时间")
    @ColumnWidth(30)
    private LocalDateTime createTime;

    @ExcelProperty("买家id")
    private Integer buyerId;

    @ExcelProperty("店铺id")
    private Integer storeId;

    @ExcelProperty("配送员id")
    private Integer runnerId;
}
